﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 数据库常用操作封装
{
    public class Point3d : Point2d
    {
        private double z;
        public double Z
        {
            get
            {
                return z;
            }

            set
            {
                z = value;
            }
        }
        public Point3d(double x, double y, double z) : base(x, y)
        {
            this.z = z;
        }
        public override string ToString()
        {
            return X + "," + Y + "," + Z;
        }

    }
}
